import Mock from 'mockjs'
import Nav from "../assets/images/nav-1.png";

const HomeBannerData = Mock.mock('/api/banner/home', 'get', {
    code: 200,
    data: {
        HomeBannerList: [
            {
                id: 1,
                img: 'AiyWuByWklrrUDlFignR',
            },
            {
                id: 2,
                img: 'TekJlZRVCjLFexlOCuWn',
            },
            {
                id: 3,
                img: 'IJOtIlfsYdTyaDTRVrLI',
            }

        ]
    }
})


const HotTypeData = Mock.mock('/api/movie/type/hot/:n', 'get', {
    code: 200,
    data: {
        HotTypeList: [
            {
                id: 1,
                img: Nav,
                title: '喜剧',
                path: '/about'
            },
            {
                id: 2,
                img: Nav,
                title: '喜剧',
                path: '/about'
            },
            {
                id: 3,
                img: Nav,
                title: '喜剧',
                path: '/about'
            },
            {
                id: 4,
                img: Nav,
                title: '喜剧',
                path: '/about'
            },
            {
                id: 5,
                img: Nav,
                title: '喜剧',
                path: '/about'
            },
            {
                id: 6,
                img: Nav,
                title: '喜剧',
                path: '/about'
            },
            {
                id: 7,
                img: Nav,
                title: '喜剧',
                path: '/about'
            },
            {
                id: 8,
                img: Nav,
                title: '喜剧',
                path: '/about'
            }
        ]
    }
})
const test=Mock.mock(/\/api\/test\/\d/,'get',{
    code:1
})
export {HomeBannerData, HotTypeData,test}
